﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ICMS
{
    /// <summary>
    /// 文章类别实现接口
    /// </summary>
    public interface ICategory
    {
        CMSModel.Category GetModel(int id);

        int Delete(int id);

        int Insert(CMSModel.Category category);

        int Edit(CMSModel.Category category);

        List<CMSModel.Category> GetList(int count);

        List<CMSModel.Category> GetAllCategorys();
    }
}
